// eslint-disable-next-line import/prefer-default-export
export const fanYi = (v: number | string, arr: any[]) => {
  // eslint-disable-next-line no-restricted-syntax
  for (const item of arr) {
    if (v === item.appCode) {
      return item.appName;
    }
  }
  return '';
};
